package com.java.forum.b_mapper;

import com.java.forum.a_entity.Subscribe;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SubscribeMapper {
    Integer InsertSubscribe(Subscribe subscribe);

    Integer DeleteSubscribe(Subscribe subscribe);

    Subscribe IsSubscribe(int GUid, int BUid);

    List<Subscribe> getSubscribeList(int GUid);

    List<Subscribe> getBeSubscribedList(int BUid);
}
